package org.sample.vm.classloading;

public class HotSwapClassLoader extends ClassLoader {

	public HotSwapClassLoader() {
		super(HotSwapClassLoader.class.getClassLoader());
	}
	
	public Class<?> loadByte(byte[] classBytes) {
		return defineClass(null, classBytes, 0, classBytes.length);
	}
	
}
